Description: SSH 三大框架整合源码,struts2,spring,hibernate三大框架整合示例-SSH three source integration framework, struts2, spring, hibernate integration example of the three framework Platform: |
Size: 15881216 |
Author:liuqiang |
Hits:
Description: (一)Spring与Struts2整合,实现一个简单的登录模拟(不操作数据库)。
(二)Spring与Hibernate整合,实现一条登录记录的添加。
(三)扩展实验:添加AOP应用。
-(1) Spring and Struts2 integration, to achieve a simple login simulation (do not operate the ).
(B) Spring and Hibernate integration, to achieve a log of the record to add.
(C) extended experiments: add AOP applications. Platform: |
Size: 9732096 |
Author:李清海 |
Hits:
Description: 技术要点:
1 此系统采用了目前最流行的ssm框架,其中的spingMVC框架相对于struts2框架更灵活,更安全。
2 本项目springMVC框架采用了注解映射器,使用了RESTful风格的url对系统发起http请求,开发更灵活。
3 同时使用了了hibernate提供的校验框架,对客户端数据进行校验!
4 Mybati数据库DAO层采用的是Mapper代理开发方法,输入映射采用的是POJO包装类型实现,输出映射采用了resultMap类型,实现了数据库多对一映射。
5 spring容器内部使用拦截器,以Spring AOP的方式实现事务控制管理。(Technical points:
1. This system adopts the most popular SSM framework at present. The sping MVC framework is more flexible and safer than the struts 2 framework.
2 The spring MVC framework of this project adopts annotation mapper, and uses RESTful style URL to initiate HTTP requests to the system, which makes the development more flexible.
3 At the same time, the verification framework provided by hibernate is used to verify the client data.) Platform: |
Size: 14832640 |
Author:MarkJOJO |
Hits: